<div class="the-top card">
  <div class="the-top-date PingFangSC-Regular-14-65">
    2023年3月21日 星期二
  </div>
  <div class="the-top-gome">
    <span class="login" (click)="goLoginPage()"
      *ngIf="!userInfo?.userId"
    >登录</span>
    <span class="login" (click)="goMe()"
      *ngIf="userInfo?.userId"
    >{{ userInfo?.name }}</span>
    <span class="login-icon">
      <img height="22" width="22" src="assets/images/icons/user.svg" alt="">
    </span>
    <div class="devider"></div>
    <span class="logout-icon">
      <img height="24" width="22" src="assets/images/icons/logout.svg" alt="">
    </span>
  </div>
</div>
